package com.fjnldx.mes.domain.pojo.alarm;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 告警通知
 */
@Data
@TableName("alarm_notice")
public class AlarmNotice {
    //主键
    @TableId(type = IdType.AUTO)
    Integer id;

    //告警标识
    Integer alarmId;

    //接收者
    String receiversJson;

    //接收方式
    String receiverMethodsJson;

    //消息模板
    String messageTemplate;

    //订阅地址
    String receiveUrl;

    ///创建时间
    LocalDateTime createTime;
}
